//package com.newtouch.avmarketing.mongo.dao;
//
//import com.newtouch.avmarketing.mongo.po.Comment;
//import org.springframework.data.domain.Page;
//import org.springframework.data.domain.Pageable;
//import org.springframework.data.mongodb.repository.MongoRepository;
//import org.springframework.data.mongodb.repository.Query;
//import org.springframework.stereotype.Repository;
//
//import java.util.List;
//
//@Repository
//public interface CommentRepo extends MongoRepository<Comment,String> {
//
//    Page<Comment> findByParentid(String parentid, Pageable pageable);
//
//    //查询评论详情
//    @Query("{'$and':[{'nickname':?0}]}")
//    List<Comment> findBynicknameContaining(String nickname);
//}
